<!-- content -->
<div id="content">
	<h2>修改密码</h2>
    <!-- mainContent -->
	<div id="mainContent">
        <div id="manageUserInfo">
            <% if flash[:notice] -%>
			<div class="success"><%= flash[:notice] %></div>
			<% end -%>
            <%= error_messages_for :user %>
            <% form_for @user, :url=>{:controller=>"users", :action=>"update"} do |f| %>
            <p><label for="password" class="bold">设置密码：</label><%= f.password_field :password, :class => 'text' %><span>至少6位。</span></p>
            <p><label for="password_confirmation" class="bold">确认密码：</label><%= f.password_field :password_confirmation, :class => 'text' %><span>再输入一遍密码。</span></p>
            <p><button class="pos" onclick="this.form.submit();">确认修改</button> <a href="/main/welcome">返回首页</a></p>
            <% end %>
        </div>
    </div>
    <!-- sideContent -->
	<div id="sideContent">
        <div id="myInfo">
        	<dl>
            	<dt><img src="/images/face.jpg" alt="" /></dt>
            	<dd>共发布点评 10 条。</dd>
            </dl>
        </div>
    </div>

</div>